package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.PushDataLogDao;
import io.wdb.modules.generator.generator.entity.PushDataLogEntity;
import io.wdb.modules.generator.generator.service.PushDataLogService;



@Service("pushDataLogService")
public class PushDataLogServiceImpl implements PushDataLogService {
	@Autowired
	private PushDataLogDao pushDataLogDao;
	
	@Override
	public PushDataLogEntity queryObject(Long id){
		return pushDataLogDao.queryObject(id);
	}
	
	@Override
	public List<PushDataLogEntity> queryList(Map<String, Object> map){
		return pushDataLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return pushDataLogDao.queryTotal(map);
	}
	
	@Override
	public void save(PushDataLogEntity pushDataLog){
		pushDataLogDao.save(pushDataLog);
	}
	
	@Override
	public void update(PushDataLogEntity pushDataLog){
		pushDataLogDao.update(pushDataLog);
	}
	
	@Override
	public void delete(Long id){
		pushDataLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		pushDataLogDao.deleteBatch(ids);
	}
	
}
